package com.netease.nie.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;

public class AddressDto {

	private long id;

	@JSONField(name = "user_id")
	private long userId;

	@JSONField(name = "real_name")
	private String realName;

	private String mobile;

	@JSONField(name = "choose_addr")
	private String chooseAddr;
	
	@JSONField(name = "choose_code")
	private String chooseAddrCode;

	@JSONField(name = "detail_addr")
	private String detailAddr;

	@JSONField(name = "default")
	private int defaultStatus;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getUserId() {
		return userId;
	}

	@JsonProperty("user_id")
	public void setUserId(long userId) {
		this.userId = userId;
	}

	public String getRealName() {
		return realName;
	}

	@JsonProperty("real_name")
	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getChooseAddr() {
		return chooseAddr;
	}

	@JsonProperty("choose_addr")
	public void setChooseAddr(String chooseAddr) {
		this.chooseAddr = chooseAddr;
	}

	public String getChooseAddrCode() {
		return chooseAddrCode;
	}

	@JsonProperty("choose_addr_code")
	public void setChooseAddrCode(String chooseAddrCode) {
		this.chooseAddrCode = chooseAddrCode;
	}

	public String getDetailAddr() {
		return detailAddr;
	}

	@JsonProperty("detail_addr")
	public void setDetailAddr(String detailAddr) {
		this.detailAddr = detailAddr;
	}

	public int getDefaultStatus() {
		return defaultStatus;
	}

	@JsonProperty("default")
	public void setDefaultStatus(int defaultStatus) {
		this.defaultStatus = defaultStatus;
	}

}
